Spread Silverlight Documentation
Evaluate(Object[]) Method


The args contains 1 - 2 items: serial_num, [return_type].

Serial_num is a date within the week.

[Return_type] is a number that determines on which day the week begins. 1 means Week begins on Sunday, 2 means Week begins on Monday. The default value is 1.

Returns a number that indicates where the week falls numerically within a year.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcWeekNumFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 1 - 2 items: serial_num, [return_type].

Serial_num is a date within the week.

[Return_type] is a number that determines on which day the week begins. 1 means Week begins on Sunday, 2 means Week begins on Monday. The default value is 1.

Return Value

A System.Int32 value that indicates the evaluate result.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

CalcWeekNumFunction Class
CalcWeekNumFunction Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.